package pojo;
public class User {
    private int i;//序号，用来计数
    private String number;//身份证号
    private String name;//姓名
    private int gender;//性别
    private String phone;//电话号码
    private String password;//密码
    private String cid;//员工号
    private String nickname;//昵称
    private String email;//Email

    public User(String number, String name, int gender, String phone, String password, String cid, String email) {
        this.number = number;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.password = password;
        this.cid = cid;
        this.email = email;
    }

    public User(int i, String number, String name, int gender, String phone, String password, String cid, String nickname, String email) {
        this.i = i;
        this.number = number;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.password = password;
        this.cid = cid;
        this.nickname = nickname;
        this.email = email;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public User() {
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", cid='" + cid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
